﻿using ProTrack.Entity;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace ProTrack.IServices.Product
{
   public interface IColorServices
    {
        public Task<IEnumerable<Color>> GetAllAsync();
        public Task<IEnumerable<Color>> GetAsync(int PageIndex,int PageSize,string Name);
        public Task<int> GetCountAsync(string Name);
        public Task<bool> UpdateAsync(Color model);
        public Task<bool> AddAsync(Color model);
        public Task<bool> DeleteAsync(int[] Ids);
        public Task<bool> DeleteAsync(int Id);
    }
}
